﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="MyEvent.aspx.cs" Inherits="EARS.MyEvent" %>
<%@ Register src="MyEvent1.ascx" tagname="MyEvent1" tagprefix="uc1" %>
<%@ Register src="OrganizedEvent.ascx" tagname="OrganizedEvent" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2>
        Registered Event</h2>
    <uc1:MyEvent1 ID="MyEvent11" runat="server" />
    <uc1:MyEvent1 ID="MyEvent12" runat="server" />
    <uc1:MyEvent1 ID="MyEvent13" runat="server" />
    <uc1:MyEvent1 ID="MyEvent14" runat="server" />
    <uc1:MyEvent1 ID="MyEvent15" runat="server" />
    <div style="text-align: center">
        <asp:Button ID="btnView1" runat="server" Text="View Older Events" Class="button" 
            onclick="btnView1_Click" Visible="False"/>
    </div>
    <asp:Panel ID="pnlNoResult1" runat="server" style="text-align: center" 
        Visible="False">
        You have not register for any events.</asp:Panel>
    <br />
    <h2>
                        Organized Event</h2>
    <uc2:OrganizedEvent ID="OrganizedEvent1" runat="server" />
    <uc2:OrganizedEvent ID="OrganizedEvent2" runat="server" />
    <uc2:OrganizedEvent ID="OrganizedEvent3" runat="server" />
    <uc2:OrganizedEvent ID="OrganizedEvent4" runat="server" />
    <uc2:OrganizedEvent ID="OrganizedEvent5" runat="server" />
    <div style="text-align: center">
        <asp:Button ID="btnView2" runat="server" Text="View Older Events" Class="button" 
            onclick="btnView2_Click" Visible="False"/>
    </div>
    <asp:Panel ID="pnlNoResult2" runat="server" style="text-align: center" 
        Visible="False">
        You have not organize any events.</asp:Panel>
    <asp:ScriptManager ID="asm" runat="server" />
    </asp:Content>
